package com.sunda.spmswms.service.impl;

import com.sunda.spmswms.mapper.WhsStorageInventoryMapper;
import com.sunda.spmswms.service.IChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: Johnny Zhao
 * @time: 2021/9/2 16:58
 */
@Service
public class ChartServiceImpl implements IChartService {

    @Autowired
    WhsStorageInventoryMapper whsStorageInventoryMapper;

    @Override
    public List<Map<String, Object>> getAgeObject() {
        return whsStorageInventoryMapper.getAge();
    }
}
